#ifndef INPUTDIALOG_H_
#define INPUTDIALOG_H_
#include <QDialog>
#include <QLineEdit>
#include <QPushButton>
#include <QHBoxLayout>

class InputDialog : public QDialog
{
        Q_OBJECT
public:
        InputDialog(QString title, QString btnLabel, QWidget * parent = 0, Qt::WindowFlags f = 0);
        virtual ~InputDialog();
private:
        QLineEdit * edPort;
        QPushButton * btnOk;
private slots:
        void onOkClicked();

signals:
        void valueSet(QString);
};

#endif /* INPUTDIALOG_H_ */

